package com.atlin.beaconsapiclientsdk.config;

import com.atlin.beaconsapiclientsdk.client.BeaconsApiClient;
import com.atlin.beaconsapiclientsdk.service.BeaconsApiService;
import com.atlin.beaconsapiclientsdk.service.impl.BeaconsApiServiceImpl;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;

/**
 * @author atlin
 * @description
 * @createDate 2024/12/24 22:35
 */
@EnableConfigurationProperties(BeaconsApiClient.class)
public class BeaconsApiAutoConfig {

    @Bean
    public BeaconsApiService beaconsApiService() {
        return new BeaconsApiServiceImpl();
    }

}
